-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datapack parsing #455
Datapack parsing #455
Conversation
Added a generator for vanilla tags; Implemented parsing of tag files.
Introduced helper types for serialization; Implmented the recipe registry that discards "special" recipes.
Considering the significance of these changes, I would like @caelunshun to review them. |
In my opinion prefer into namespace. |
The functions now take |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, the location of the generator.py is a bit odd and should be moved into the same directory with all other generators?
feather/datapacks/tags.py
Outdated
@@ -0,0 +1,42 @@ | |||
from os import listdir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be moved into the generator directory.
Moved the tags generator. I believe the recipe implementation can be finished together with crafting. |
This reverts commit 7e46ec7.
This reverts commit 7e46ec7.
Datapack parsing
Status
Description
The game needs to parse registries for most of its logic to function. This pull request attempts to do that.
Related issues
#429
Checklist
cargo fmt
,cargo clippy --all-targets
,cargo build --release
andcargo test
and fixed any generated errors!Note: if you locally don't get any errors, but GitHub Actions fails (especially at
clippy
) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.